package com.bbs.elsearch.service;


import com.bbs.common.resp.ResultMsg;
import com.bbs.elsearch.entity.Articles;
import com.bbs.elsearch.request.Search;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ArticlesService {

//    Articles getByTitle(String title);

    ResultMsg getByArticleId(Integer articleId);

    ResultMsg getByArticleLike(Search search);

    ResultMsg findByUserId(Search search);

    ResultMsg findByTagId(Search search);

    ResultMsg deleteByArticleId(Integer articleId);
}
